package com.feather.common.pojo;

import java.io.FileNotFoundException;
import java.io.IOException;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;

import org.xml.sax.SAXException;

/**
 * @author flogyin
 */
public interface ConfigurationDocument {
	String getDir();

	String getFilePath();

	void parse(PojoConfiguration configuration) throws ParserConfigurationException, SAXException, IOException;

	void saveConfig(PojoConfiguration pojoConfiguration) throws ParserConfigurationException, TransformerConfigurationException, FileNotFoundException, TransformerException, IOException;
}
